
 
 F u n c t i o n :   r e m o v e I d R e f e r e n c e ( d o m E l e m e n t O r C S S S e l e c t o r ,   s t r i n g A t t r i b u t e N a m e ,   s t r i n g I D ) 
 
 
 
 S h o r t h a n d :   r e m I d R e f ( d o m E l e m e n t O r C S S S e l e c t o r ,   s t r i n g A t t r i b u t e N a m e ,   s t r i n g I D ) 
 
 
 
 D e s c r i p t i o n :   R e m o v e s   o n e   o r   m o r e   s p a c e   d e l i m i t e d   I D   r e f e r e n c e s   f r o m   t h e   s p e c i f i e d   a t t r i b u t e   o n   a n   e l e m e n t . 
 
 
 
 R e t u r n s :   d o m E l e m e n t ,   o r   $ A   o b j e c t   i f   c h a i n e d . 
 
 
 
 N o t e :   A u t o m a t i c a l l y   r e c o g n i z e s   w h e n   p r e v i o u s   I D   r e f e r e n c e s   h a v e   b e e n   s e t   o n   t h e   s a m e   e l e m e n t   a n d   r e m o v e s   o n l y   t h o s e   l i s t e d   w i t h i n   t h e   f u n c t i o n .   D e s i g n e d   f o r   u s e   w i t h   s p e c i f i c   A R I A   a t t r i b u t e s   s u c h   a s   a r i a - d e s c r i b e d b y ,   a r i a - l a b e l l e d b y ,   a r i a - o w n s ,   a n d   a r i a - c o n t r o l s . 
 
 
 
 E x a m p l e : 
 
 
 
 v a r   m y E l e m e n t   =   $ A . r e m o v e I d R e f e r e n c e ( f o r m F i e l d ,   " a r i a - d e s c r i b e d b y " ,   " s u p p l e m e n t a r y I n f o I d " ) ; 
 
 
 
 / /   O r   t h e   s a m e   u s i n g   c h a i n i n g 
 
 
 
 v a r   m y C h a i n   =   $ A ( f o r m F i e l d ) . r e m o v e I d R e f e r e n c e ( " a r i a - d e s c r i b e d b y " ,   " s u p p l e m e n t a r y I n f o I d " ) ; 
 
 
 
 / /   T o   r e t u r n   t h e   m o d i f i e d   o b j e c t   w i t h i n   a   c h a i n ,   u s e   t h e   " r e t u r n ( ) "   m e t h o d . 
 
 
 
 v a r   m y O b j e c t   =   m y C h a i n . r e t u r n ( ) ; 
 
 